package com.hxtec.polarislogin.polarislogin;

import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

/**
 * @Author Marcus lv
 * @create 2019/11/26 4:08 下午
 */
@Service
public class VerifyService {

    @Cacheable(value = "verifyCode",unless = "#result==12345678")
    public int verify(String number) {
        return 12345678;
    }
}
